package 设计模式.结构型模式.桥梁模式_api_抽象_代理;

//定义抽象类的子类：
// 圆形
public class Circle extends Shape {
    private int radius;

    public Circle(int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.radius = radius;
    }

    public void draw() {
        drawAPI.draw(radius, 0, 0);
    }
}
